// *Author：jxx
// *Contact：283591387@qq.com
// *代码由框架生成,任何更改都可能导致被代码生成器覆盖
export default function(){
    const table = {
        key: 'Id',
        footer: "Foots",
        cnName: '患者表',
        name: 'Patient',
        url: "/Patient/",
        sortName: "Id"
    };
    const tableName = table.name;
    const tableCNName = table.cnName;
    const newTabEdit = false;
    const key = table.key;
    const editFormFields = {};
    const editFormOptions = [];
    const searchFormFields = {};
    const searchFormOptions = [];
    const columns = [{field:'Id',title:'主键',type:'int',width:110,hidden:true,readonly:true,require:true,align:'left'},
                       {field:'PatientCode',title:'患者编号',type:'string',width:110,require:true,align:'left'},
                       {field:'Name',title:'姓名',type:'string',width:110,require:true,align:'left'},
                       {field:'OfficeCode',title:'科室编号',type:'string',width:110,require:true,align:'left'},
                       {field:'WardAreaCode',title:'病区编号',type:'string',width:110,require:true,align:'left'},
                       {field:'NursingUnit',title:'护理单元',type:'string',width:110,require:true,align:'left'},
                       {field:'WardCode',title:'病房编号',type:'string',width:110,require:true,align:'left'},
                       {field:'BedCode',title:'床位编号',type:'string',width:110,require:true,align:'left'},
                       {field:'Sex',title:'性别',type:'int',width:110,align:'left'},
                       {field:'Age',title:'年龄',type:'int',width:110,align:'left'},
                       {field:'IDNo',title:'身份证号码',type:'string',width:110,require:true,align:'left'},
                       {field:'Phone',title:'手机号',type:'string',width:110,require:true,align:'left'},
                       {field:'Address',title:'住址',type:'string',width:110,require:true,align:'left'},
                       {field:'SOSName',title:'紧急联系人',type:'string',width:110,require:true,align:'left'},
                       {field:'Diagnosis',title:'诊断内容',type:'string',width:220,require:true,align:'left'}];
    const detail ={columns:[]};
    const details = [];

    return {
        table,
        key,
        tableName,
        tableCNName,
        newTabEdit,
        editFormFields,
        editFormOptions,
        searchFormFields,
        searchFormOptions,
        columns,
        detail,
        details
    };
}